home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / dtype / txtdt392.lha / textdtpatch / SMakefile < prev    next >
Makefile  |  1995-11-13  |  2KB  |  77 lines

  1. #
  2. # $PROJECT: text.datatype patch
  3. #
  4. # $VER: SMakefile 39.1 (03.07.95)
  5. #
  6. # by
  7. #
  8. # Stefan Ruppert , Windthorststrasse 5 , 65439 Floersheim , GERMANY
  9. #
  10. # (C) Copyright 1995
  11. # All Rights Reserved !
  12. #
  13. # $HISTORY:
  14. #
  15. # 03.07.95 : 039.001 : initial
  16. #
  17.  
  18. VERSION  = 39
  19. REVISION = 2
  20.  
  21. NAME     = textdtpatch
  22. SRCS     = $(NAME).c
  23. DOC      = $(NAME).doc
  24. OBJS     = $(NAME).o
  25. LHA      = Release:$(NAME)$(VERSION).$(REVISION).lha
  26. README   = Release:$(NAME)$(VERSION).$(REVISION).readme
  27.  
  28. ##############################################################################
  29. #
  30. # SAS definition
  31. #
  32.  
  33. # DEBUG      = DEBUG=LINE DEFINE=DEBUG
  34. DEBUG      =
  35. SCOPTS     = VERBOSE NOSTKCHK NOGST
  36. SLOPT      = NOICONS VERBOSE SMALLDATA SMALLCODE
  37. # SCOPTIMIZE =
  38. SCOPTIMIZE = OPT OPTTIME
  39. LIB        = lib:amiga.lib lib:sc.lib lib:debug.lib
  40.  
  41. all: $(NAME)
  42.  
  43. $(OBJS): $(SRCS)
  44.     sc $(DEBUG) $(SCOPTS) $(SCOPTIMIZE) $*.c
  45.  
  46. $(NAME): $(OBJS)
  47.     slink FROM $*.o TO $@ $(SLOPT) LIB $(LIB)
  48.  
  49. documentation: $(DOC)
  50.  
  51. $(DOC): $(SRCS)
  52.     makedoc $(SRCS) AUTODOC $(DOC) TABS 3 VERBOSE NOICON
  53.  
  54. release: $(NAME) $(DOC) $(LHA) $(README)
  55.  
  56. $(LHA): $(SRCS) $(NAME)
  57.     echo "cd /*nlha -r r $(LHA) $(NAME) $(NAME).info" >pipe:lha
  58.     execute pipe:lha
  59.  
  60. $(README): $(DOC)
  61.     echo "Short:    V$(VERSION).$(REVISION) patches text.datatype to support searching" >t:readme
  62.     echo "Author:   ruppert@goofy.zdv.uni-mainz.de"     >>t:readme
  63.     echo "Uploader: ruppert@goofy.zdv.uni-mainz.de"     >>t:readme
  64.     echo "Type:     util/dtype*n"                       >>t:readme
  65.     type $(DOC) >>t:readme
  66.     copy t:readme $(README)
  67.     delete t:readme
  68.  
  69. ##############################################################################
  70. #
  71. # clean up
  72. #
  73.  
  74. clean:
  75.     delete $(NAME)
  76.  
  77.